﻿<?php
    include ("../lib/BLL/DonViCTDTBLL.php");
    $dv_ctdt=new DonViCTDTBLL;
    $id=$_GET['id'];
    //echo $masv;
	$kq=$dv_ctdt->delDonViCTDT($id);
    if($kq){
            header("Location: ?muc=nhom3&modul=tbl_donvi_ctdt&action=dsdonvictdt");
        }
    else {
        $thongbao="Chưa xóa được";
    }
    $smarty->assign('thongbao',$thongbao);
    
    $smarty->display('nhom3/dmDonVi_ctdt.tpl');

	
 ?>